package controleur;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class FactureForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Double montant;
	private int date;
	private String details;
	private int numeroAppartement;
	private int numConfirmation;
	
	public Double getMontant() {
		return montant;
	}
	public void setMontant(Double montant) {
		this.montant = montant;
	}
	public int getDate() {
		return date;
	}
	public void setDate(int date) {
		this.date = date;
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	public int getNumeroAppartement() {
		return numeroAppartement;
	}
	public void setNumeroAppartement(int numeroAppartement) {
		this.numeroAppartement = numeroAppartement;
	}
	public int getNumConfirmation() {
		return numConfirmation;
	}
	public void setNumConfirmation(int numConfirmation) {
		this.numConfirmation = numConfirmation;
	}
	public static long getSerialVersionUID() {
		return serialVersionUID;
	}
	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
		ActionErrors errors = new ActionErrors();
		return errors;
	}
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		this.montant = null;
		this.date = 0;
		this.details = null;
		this.numeroAppartement = 0;
		this.numConfirmation = 0;
	}
}
